package cn.iot.card.open.terminal.dao;

import cn.iot.card.open.terminal.model.SmsMtRecord;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.Map;
import org.apache.ibatis.annotations.Param;

public interface SmsMtRecordMapper extends BaseMapper<SmsMtRecord> {
    int deleteByPrimaryKey(Long id);

    int insert(SmsMtRecord record);

    int insertSelective(SmsMtRecord record);

    SmsMtRecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SmsMtRecord record);

    int updateByPrimaryKey(SmsMtRecord record);

    Page<Map<String, Object>> getSmsMtRecordList(@Param("page") Page page, @Param("msisdns") String[] msisdns, @Param("pushStatus") String pushStatus,
            @Param("smsType") String smsType, @Param("startDate") String startDate, @Param("endDate") String endDate);
}